Update oauth.rb: Add query strings support