Fix JSONException in saveToken web script when refresh token not supplied
Ensure that content is copied over correctly to the response as well as headers and status code - fixes empty body issue when request was retried.