Added search-and-bind feature for the core LDAP authentication plugin. This is completely backward compliant with older setup.