Call next on logout.