LDAP: only connect to LDAP once on login
Merge pull request #4423 from owncloud/ldap_reduce_connections

Ldap reduce connections