PF-478: LDAPMasterHandler: catch LDAP exception on login.