Fix LDAP plugin configuration checks