fix for login using standard multi-tenant domain