cmd: avoid unnecessary calls to /auth/scheme