Social Network Login Failure
When clicking on connect GitHub on the [social accounts page](https://readthedocs.org/accounts/social/connections/?) I get a message:

> An error occurred while attempting to login via your social network account.

There's a `?` in the url. Could that be a hint? Is it missing some request arguments? If I omit it, the bug persists.

Cheers!

diff --git a/readthedocs/settings/postgres.py b/readthedocs/settings/postgres.py
index 2086b4fd4..788743d14 100644
--- a/readthedocs/settings/postgres.py
+++ b/readthedocs/settings/postgres.py
@@ -69,6 +69,9 @@ SOCIALACCOUNT_PROVIDERS = {
     'github': {'SCOPE': ['user:email', 'read:org', 'admin:repo_hook', 'repo:status']}
 }
 
+# allauth settings
+ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
+
 if not os.environ.get('DJANGO_SETTINGS_SKIP_LOCAL', False):
     try:
         from local_settings import *  # noqa
['readthedocs/settings/postgres.py']