finalize ldap login