tenant switched on school from session for web and header for api