Finished login for LDAP and Registration.