Display error message on authentication failure

Small patch to display a nice error when the authentication fails and mention the keychain update script, as opposed to returning a HTML blob.