Add a quick unit test for authentication.