Added LDAP support for session login