Fix auth settings in tests