Verbose error output for authenticated requests
Created by: valerybugakov
Steps to reproduce:
- Go to the dogfood instance as an unauthenticated user.
- See verbose errors in the console.

Expected behavior:
- 401 errors are expected
- We should not have
unexpected token P in JSON at position 0
error messages in the console.
/cc @taylorsperry @jasongornall