Fix refresh token handling and add unit tests for oauth2client.client
diff --git a/samples/threadqueue/main.py b/samples/threadqueue/main.py
index d184f6d..63d092d 100644
--- a/samples/threadqueue/main.py
+++ b/samples/threadqueue/main.py
@@ -88,7 +88,7 @@
     flow = FlowThreeLegged(moderator_discovery,
                            consumer_key='anonymous',
                            consumer_secret='anonymous',
-                           user_agent='google-api-client-python-thread-sample/1.0',
+                           user_agent='python-threading-sample/1.0',
                            domain='anonymous',
                            scope='https://www.googleapis.com/auth/moderator',
                            xoauth_displayname='Google API Client Example App')