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
When the token is wrong or malformed json is returned the settings page will return a 500, making it hard to fix the settings