AS-staging error. JSON parse error.

- If client sends an invalid authentication request then return the invalid response instead to crash.