Modified handling of bad cookies

Upon finding bad cookies, get()/post() will try to fix the
cookies and then try to load again (before, it would
raise an error and request() would, after catching it,
start over from the beginning.