[COOK-2369] added support for LDAP authentication