Update session to use single loader instance

Reduces memory bloat when running tests, which is causing
issues on some test systems.

cc @danielgtaylor