LPS-43045 LR doesn't export a temporary user password to a LDAP-server.

Please, reject the pull-request.

There are two use cases that I had skip:
  1. When LDAP encoding algorithm is "NONE", the password sent to LDAP has {none} as prefix, but LDAP treat it as part of password. 
  2. If user activate at portal-ext.properties the flag: login.create.account.allow.custom.password=true the custom password during creation is lost.
                - This is stored at database at UserLocalServiceImpl.addUserWithWorkflow() so a change must be also done at this point


At DefaultPortalToLDAPConverter.getEncryptedPasswordForLDAP, the call user.getPasswordUnencrypted()  returns null.

This is caused because unencrypted password is not stored at database. During user creation, passing the whole User object instead "userid" to "updateStatus" fix the problem.