Allowing for django 1.5's custom user object

Needed for sentry.

I verified it now works on our new sentry installation.