Avoid causing an exception when there is no session available, as
happens with the test user in data.db.
Fix typo in method name.
Merge branch 'master' of github.com:thaxter/django-xadmin