You must mean RegistrationFailure, not AuthenticationFailure