Attempted fix for two-legged OAuth calls.