add missing test dependency
Don't crash if we get a CookieError