better handling of testing xhr requests.
don't barf on new cookie format.