Escape ldap filters with strings properly

Ldap filters with chars in ` *()\&|!"` are wrong and we have to encode it.