Fix login template implementation.
Merge pull request #47 from jnns/patch-2

Fix templatetag compatibility with Django 1.5