working around the new 1.6 behaviour for custom user models