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