Added authentication listener tests