configurable token name support in nojs

session token regeneration issue fixed,
testcases: added