Fix to make admin work with custom User models