Fixes the Spring autowiring LdapService error.