title: Issue with Django template 'ifequal'
body: <p>The Below code:</p>
  
  <pre><code>{% ifequal username AnonymousUser %}
      &lt;p&gt;Welcome&lt;/p&gt;
  {% else %} 
      &lt;p&gt; Welcome {{ username }}. Thanks for logging in.&lt;/p&gt;     
  {% endifequal %}
  </code></pre>
  
  <p>Shows This:</p>
  
  <pre><code>Welcome AnonymousUser. Thanks for logging in.
  </code></pre>
  
  <p>What the? I'm more than a little miffed. I'm pretty sure i don't need to supply extra code for you to understand my problem.</p>
  
  <p>I dont think it's an ifequal problem. I have a pretty good handle on that.</p>
  
  <p>Username comes from:</p>
  
  <pre><code>username = request.user
  </code></pre>
  
  <p>Does this mean username at this point in the code is not a string. Do i have to convert it to a string.</p>