support for custom auth model, django => 1.5