Fix cookie used when loading index