[fix] changed internal ldap login process
Merge pull request #206 from dacrome/ldap-fix

Ldap fix