Changes in login for LDAP integration

Changes in login for LDAP integration and check current client in
iframes requests