user.is_authenticated

Have you enabled the django.contrib.auth.context_processors.auth in the TEMPLATES section of your settings.py?

Also, do you mind posting your custom backend code?