Index: oauth_common.pages.inc
===================================================================
--- oauth_common.pages.inc	(revision 810)
+++ oauth_common.pages.inc	(working copy)
@@ -134,11 +134,11 @@
   else {
     $query = $_GET;
     unset($query['q']); // why are there so few q's?
-    drupal_goto('user/login', array(
-      'destination' => url('oauth/authorize', array(
+    drupal_goto('user/login', 'destination=' . url('oauth/authorize', 
+      array(
         'query' => $query,
         'absolute' => FALSE,
-      )),
+      )
     ));
   }
 }
