fix ldap authentication on mail address login