Change the current tenant when creating a session. #19083