Add new middleware to pick up on when SageOne sends HTML instead of JSON.

Just re-raises the error as something we can handle more easily for now.