if the cookie doesn't contain '=', then it looks like an ArrayOutOfBoundsException will occur here.