Example of authentication in Django 1.6