Add test-mode authenticator to use with Capybara style tests

It's not possible in Capybara examples to trap a redirect and inject different behaviour, so we need to support an alternate code path for use in this case.

This approach expects the test case to inject a JWT, and presents a plain login form with only a button which simulates the post from Rapid Connect.