Login Handling via JSON Api.
Added Charset/Response Type Explitly.