Partially working cookie persistence in Ion