using direct setcookie() call in cookie(). fixes #30