Handle favicon.
More robust error handling for invalid credentials.