LdapLogin.py adapted to work elsewhere than esrf.
The domain for ldap server was originally hard-coded. In this version the default is to use the esrf domain, otherwise the domain can be set in the xml file. No modification should be necessary to run this module at the esrf.