Adds fallback to default auth backend in has_perm permission lookup function

This function is called with obj=None (and fails) when accessing Django's admin interface without Superuser privileges.