The fix is to manually remove the GitHub Copilot login preferences from your VS Code settings.json
.
Steps:
Open the command palette (Cmd+Shift+P or Ctrl+Shift+P)
Choose Preferences: Open Settings (JSON)
Look for this block:
"github.copilot.advanced": {
"serverUrl": "https://yourcompany.ghe.com"
}