Avoid injection of global role mapper into entity beans.

Change-Id: If9da3c15287d472d0902525300898af8ef6f4a0b