Made existing cookie check to check "startwith" and not "contains".