Fix login tests for proper handling of LDAP exceptions.
Fix login tests for proper handling of LDAP exceptions.

dastergon/identity.gentoo.org,gentoo/identity.gentoo.org,gentoo/identity.gentoo.org,dastergon/identity.gentoo.org