Fix auth in tests