title: user auth template tags not working-Django
body: <p>I used django-registration app. Everything goes fine. User gets registered with email verification but when user logs in and is redirected to mainpage the auth template tags such as {% if user.is_authenticated %} returns false.</p>
  
  <p>I am having this in my login.html</p>
  
  <pre><code>&lt;input type="hidden" name="next" value="/" /&gt;
  </code></pre>
  
  <p>After login I want to redirect the user to main page and in mainpage.html</p>
  
  <pre><code>{% if user.is_authenticated %}
       &lt;p&gt;Welcome, {{ user.username }}. Thanks for logging in.&lt;/p&gt;
  {% else %}
      &lt;p&gt;Welcome, new user. Please log in.&lt;/p&gt;  
  {% endif %}
  </code></pre>
  
  <p>but user.is_authenticated returns false here. What might be the problem here? Thanks</p>