Sanitize user name before using it in LDAP query