Support multi-tenancy with active directory