title: django allauth setting EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL doesn't work
body: <p>I'm trying to change where the user is redirected to after they've confirmed their email address by clicking the link in the confirmation email.</p>
  
  <p>I'm using Django 2.0.10 with allauth, rest-auth and rest-framework. For the email verification, I'm using the default allauth view.</p>
  
  <p>In my settings.py I have set the following:</p>
  
  <pre><code>INSTALLED_APPS = [
      'api',
      'dynamic_rest',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'rest_framework',
      'rest_framework.authtoken',
      'django.contrib.sites',
      'allauth.account',
      'allauth.socialaccount',
      'rest_auth.registration',
      'users',
      'lists',
      'rest_auth',
      'allauth', # needs to be at the end so custom templates are found first
  ]
  EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = '/'
  print('EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL')
  print(EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL)
  </code></pre>
  
  <p>urls.py</p>
  
  <pre><code>from allauth.account.views import confirm_email
  
  urlpatterns = [
      re_path(r'^rest-auth/registration/account-confirm-email/(?P&lt;key&gt;[-:\w]+)/$', confirm_email,
       name='account_confirm_email'),
  ...
  ]
  </code></pre>
  
  <p>My setting '/' is indeed printed in the console, so I think it is being picked up by the app. But when I follow the link in the email to the page (<a href="http://localhost:8000/api/v1/rest-auth/registration/account-confirm-email/MTQ:1gpYgM:_KpNYl-nd2iiG0qLIRRdVrmF8SM/" rel="nofollow noreferrer">http://localhost:8000/api/v1/rest-auth/registration/account-confirm-email/MTQ:1gpYgM:_KpNYl-nd2iiG0qLIRRdVrmF8SM/</a>) and then click the 'confirm' button, I am redirected to the default page /accounts/profile instead of the home page as specified by EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL.</p>
  
  <p>This setting also doesn't seem to have any effect:</p>
  
  <p>ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = False</p>
  
  <p>I want to disable it because the login doesn't work - the token is invalid. Perhaps allauth logs in differently to rest-auth? I don't mind if the user has to log in after verifying their email address, but the current behaviour that the user appears to be logged in, but isn't, is not OK.</p>
  
  <p>What am I doing wrong, how can I customise where the user is redirected after confirming their email address? Many thanks for any help!</p>