Allow ldaps self signed certs.
Fix bugs with set ldap password.