Set tenantId for autoLogin