Fixed request/response session cookies.

Closes #113.