Fix LDAP issues when creating wiki.