Fix auth for tests