Fix bug in connection.rb

Also remove now deprecated oauth.yml