Adds some options to the ldap connection and fixes saving new ldap user