Fix PowerShell Login Loop: Permission Denied Errors - How to Fix Connection Refused in PowerShell-How to Fix PowerShell Rate Limit Errors

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