Added search for failed authentications