Cookie handling implemented.

Still doesn't work. Results table parsing should be remade.