fix bug: change test case for robot mitigation

Signed-off-by: jason <liu_yt@neusoft.com>
change: use new session stlye in other modules

replace the old style session API with the new ones in NS layer and
roboot mitigation module

Signed-off-by: paulyang <y_y@neusoft.com>