Fix Python unit tests, acceptance tests

@AlasdairSwan this fixes a few unit and acceptance tests that started failing on the logistration branch because of copy changes. If we need to change "log out" to "sign out" (or "sign in" back to "log in"), we'll have to revisit the acceptance tests.

It looks like the Jasmine tests of the access view are still failing. I'd like to fix them, but I need to get on a plane! Feel free to merge this if you're happy with it, or we can wait and put the Jasmine fixes on this branch before merging it.