Session: remove unit test dependency on working examples

Allows the session timeout unit tests to be run by a
single test harness (#4439).
Merge pull request #4659 from patheard/unit-test-session

Session: remove unit test dependency on working examples