move identity_cache setup to /models
Merge branch 'hotfix_broken_production'