Bug report from the Android team: users get logged out at random, mostly right after the app comes back from the background and fires several requests at once. The server logs show "refresh token already used" just before each logout. (Our server rotates refresh tokens: each refresh token works for exactly one refresh.) The code is in src/main/kotlin/Auth.kt. The doc comment on AuthenticatedClient is the contract we agreed with the mobile team. Please fix the bug. Keep the public API (class names, constructors and the call signature) unchanged. The existing test is in src/test/kotlin/AuthTest.kt.