Multi-tenancy support with active directory