Fix auth tests

Make sure the login route redirects upon success and the logout route
exists.