Fix unittest for web.lua.
Merge pull request #129 from kernelsauce/secure-cookie-fix

Fix unittest for web.lua.