Support swappable user models

This should be a fairly trivial patch to support swappable user models:
https://docs.djangoproject.com/en/dev/topics/auth/customizing/