Hook up the test mode authentication.

Put back the failing switchboard tests.