KRACOEUS-7849 : Fix incorrect bean usage, related to rice upgrade