It's going to be difficult to get 100% code coverage, but we can at least ensure that checkAuth works properly.