Set authenticated flag to true when identity is created.