Adapt LDAP for auto/manual generated id. name, add unit tests for special workflow (user which are created without authentication and get LDAP token afterwards on login)