Fixes unittests
Disable login from form creation in ldap mode

Generate login using firstname and lastname
Display errors on this form if any