Fixing AWS CLI Command Prompt Token Expired Errors - Resolve 504 Gateway Timeout in RDP-Resolve Microsoft Teams Sign-In Error CXA20001

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.