fixes #1603 for me: ldap email adress had leading spaces