Adding _li cookie and tests for session vars

Closes #38