fix(rest): fix and test engine-specific identity rest methods

contributes to CAM-653