Trying chach17's fix for infinite retry loops on bad credentials. https://github.com/chach17/cupertino/commit/880d98d9bb7483c8b8c111b84a1fe96dbe2f3588