Updated cookie check in client exception calls.