401 Unauthorized HTTP status code for JSON-reply login fails
Merge pull request #551 from tlaitinen/master

401 Unauthorized HTTP status code for JSON-reply login fails and success="true" for JSON-reply