Unit test for AuthenticationFailedEvent