use the `api_login_as` if you want the json response