auth: add context-aware control-plane target resolver
main·
Commit

ResolveControlPlaneTarget picks the core + bearer for control-plane commands from the active contexts.json login instead of always using the static AuthBaseURL default. Precedence: explicit ENTIRE_AUTH_BASE_URL override -> active context (per-context refreshing bearer, keyed on its own CoreURL so refresh/STS hit the right core) -> static default.
Adds the two readers it needs: api.AuthBaseURLOverridden() and auth.insecureHTTPEnabled(). Not yet wired into coreapi.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 915fbde090f0
Checkpoints
Checkpoint 1