Fix for LDAP spring configuration