Fix the expired login case