Fix the persisted flag on Identity and ServiceAccount