Fail fast on a rejected token with --no-interactive

Merged
FL
2mo ago
+265-25

Fixes #7298. With --no-interactive, a rejected token (env var or --token) fell through to the interactive login prompt and hung CI. It now errors out right away with a clear message. Added a test for both token sources.