Validates user authentication credentials.
string $username: The user name to authenticate.
string $password: A plain-text password, such as trimmed text from form values.
int|bool The user's uid on success, or FALSE on failure to authenticate.
public function authenticate($username, $password);