Discarding token during checkLogin so that the puzzling infinite loop hopefully goes away.