Fix auth token for JSON requests
Previous behaviour
Steps to reproduce:
- Do a call to auth-token API with
application/jsonmime - Crash boom broken
New behaviour
Steps to validate that it works:
- Do a call to auth-token API with
application/jsonmime - No crash, it works
Edited by Ghost User