Cookie authentication.
Merge pull request #1 from akovari/master

Cookie authentication.