remove LDAP dependency on Core by introducing LDAP.Crypt interface