Support django 1.5's custom user model

Fixes #152