Update to the latest auth and token uris
diff --git a/oauth2client/client.py b/oauth2client/client.py
index dc9fb60..69724f3 100644
--- a/oauth2client/client.py
+++ b/oauth2client/client.py
@@ -333,8 +333,8 @@
   """
 
   def __init__(self, client_id, client_secret, scope, user_agent,
-      auth_uri='https://www.google.com/accounts/o8/oauth2/authorization',
-      token_uri='https://www.google.com/accounts/o8/oauth2/token',
+      auth_uri='https://accounts.google.com/o/oauth2/auth',
+      token_uri='https://accounts.google.com/o/oauth2/token',
       **kwargs):
     """Constructor for OAuth2WebServerFlow
 
diff --git a/oauth2client/tools.py b/oauth2client/tools.py
index bd22416..e244525 100644
--- a/oauth2client/tools.py
+++ b/oauth2client/tools.py
@@ -36,7 +36,7 @@
   Exceptions:
     RequestError: if step2 of the flow fails.
   """
-  authorize_url = flow.step1_get_authorize_url('oob')
+  authorize_url = flow.step1_get_authorize_url('http://localhost:8080/')
 
   print 'Go to the following link in your browser:'
   print authorize_url
diff --git a/samples/oauth2/latitude/latitude.py b/samples/oauth2/latitude/latitude.py
index 18c7a9d..b712066 100644
--- a/samples/oauth2/latitude/latitude.py
+++ b/samples/oauth2/latitude/latitude.py
@@ -24,14 +24,14 @@
 
 
 def main():
-  credentials = Storage('latitude.dat').get()
+  storage = Storage('latitude.dat')
+  credentials = storage.get()
   if credentials is None or credentials.invalid:
     flow = OAuth2WebServerFlow(
         client_id='433807057907.apps.googleusercontent.com',
         client_secret='jigtZpMApkRxncxikFpR+SFg',
         scope='https://www.googleapis.com/auth/latitude',
-        user_agent='latitude-cmdline-sample/1.0',
-        xoauth_displayname='Latitude Client Example App')
+        user_agent='latitude-cmdline-sample/1.0')
 
     credentials = run(flow, storage)
 
diff --git a/samples/oauth2/urlshortener/main.py b/samples/oauth2/urlshortener/main.py
index e129069..32a60df 100644
--- a/samples/oauth2/urlshortener/main.py
+++ b/samples/oauth2/urlshortener/main.py
@@ -32,8 +32,7 @@
         client_id='433807057907.apps.googleusercontent.com',
         client_secret='jigtZpMApkRxncxikFpR+SFg',
         scope='https://www.googleapis.com/auth/urlshortener',
-        user_agent='urlshortener-cmdline-sample/1.0',
-        xoauth_displayname='URL Shortener Client Example App')
+        user_agent='urlshortener-cmdline-sample/1.0')
 
     credentials = run(flow, storage)