Make OAuthUtils::signRequest() compatible with specification

Should fix #380.