Bug 1091261 - Implement login 3.0

also plain JS, not a JSON object, so there's no reason to quote the property names