Reset terminal after logout.