Only connect and bind to the ldap server if we haven't done that before.