Fix OneDrive Sync Error 0x8007017c on Mac - Fix Microsoft Store Sign-In by Resetting Credentials-Troubleshoot Windows Terminal settings.json 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.