Fixed HTTP 411 code error when performing OAuth calls.