allow to specify cookie_name