Handle non-good returns on request in settings page

When the token is wrong or malformed json is returned the settings page will return a 500, making it hard to fix the settings

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information