fix dependency on oauth < 1