plugins.justintv: Parse cookies rather than passing them directly.

Fixes #151.