Random thought: are you sure the server isn’t rate-limiting you? Sometimes too many failed attempts trigger a temp ban, which *looks* like a http 401 code but isn’t.
Try waiting a few mins or checking the API docs for rate limits.
Try waiting a few mins or checking the API docs for rate limits.
