Avoid direct use of User model for django >= 1.5