Fix PowerShell Authentication Failed Credentials Error - Diagnose 502 Bad Gateway Using Curl-Fix PowerShell Access Denied and Authentication Errors

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.