Enforced using correct sessionIds while generating tokens.