Add tests of access and password reset views

I'd like to get this in now, as the JS underlying the tests continues to change. @AlasdairSwan, could you take a look? @wedaly, FYI.
Yes, we shouldn't be adding JS for tests in the files like this. It is easy enough for the tests to hit the selectors.