adding configuration to test the ldap auth module
update test env
cleaner way to handle configuration in auth modules