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.
Approved offline; merging now.