Fix auth tests