[FIX] auth_ldap: remove insignificant spaces in login

strip spaces from user name as they will probably be ignored by ldap's search (rfc4518)
Fixes #2865