use the bind check already implemented in the auth library to check LDAP connectivity
allow LDAP server to be configured via environment