fix up tests of auth.