Fix session clearing in the test helper.

LogSubscriberTest ends up using the LogSubscripter::TestHelper which
prevents the normal test helper from running, so the session must be
cleared there as well.