Fix location navigation on cookie reset