Work with custom user models in django >= 1.5