Solution
If you get this error preventing you from logging in, make sure you have a ".aws" folder in your home directory (create it if it doesn't exist) and make sure it's not set to read-only (right-click > properties). If you try again after that, it will get this error one more time but should allow you to login (and create the cookiejar) anyway.