Trying with Cookies (e.g. like):

curl -v -b cookies.txt -c cookies.txt -H "Accept: application/json"     -H "Content-type: application/json" -X POST http://todo-aerogear.rhcloud.com/todo-server/auth/login -d '{"username":"john","password":"123"}'

it works;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira