Added option for using AD or Opendldap for test users