NXP-14931 close coreSession when closing the directory session
NXP-14931 split unit test by user session