Allow specifying binddn and bindauth while searching

Certain ldap and active directory configurations require distinguished name and auth to bind to for searching.