Update test harness

Refactors the test harness a bit and adds [rack session middleware](https://github.com/railsware/rack_session_access) for easier authenticated controller tests.