fix missing cookie_name param