Refactor SessionsController test

This change is already merged, but I wanted to add some notes explaining some of the changes I made. Once my notes have been reviewed, this PR can be closed.
Not explicitly required, since other tests already require this, but if this test were to be run in isolation, it would fail because many of its dependencies which are required by the test helper would not be included.