Authentication only work by urlencoded
The /oauth/login/
endpoint only works if the information is sent using the header and data of
'Content-Type': 'application/x-www-form-urlencoded'
I didn't get it working using application/json
header. It returns 401