need conditional session?
Issue #19299 Conditionally load session packages so REST calls do not get sessions.