Added a conditional to xauth_authenticate to check for username and
password first.