HPCC-11621 Add logout function to ESP

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>