Fixed cookie persistence