diff --git a/allauth/socialaccount/views.py b/allauth/socialaccount/views.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/views.py
+++ b/allauth/socialaccount/views.py
@@ -22,7 +22,7 @@ def signup(request, **kwargs):
         return HttpResponseRedirect(reverse(connections))
     signup = request.session.get('socialaccount_signup')
     if not signup:
-        return HttpResponseRedirect(reverse(login))
+        return HttpResponseRedirect(reverse('account_login'))
     form_class = kwargs.pop("form_class", SignupForm)
     template_name = kwargs.pop("template_name", 
                                'socialaccount/signup.html')
Properly redirect to normal login when session is lost