add cookies to get out of automatic redirection, refs #26