Added AuthenticationFailed exception.