updated get_cookies rspecs

Related to PR #2420 and #2267