Refactor auth_custom models.