Fix login problem: forgetting to process cookies with database name.
Merge pull request #11 from ehuelsmann/master

Fix login problem: forgetting to process cookies with database name.