Invalidate user session after logout. Refs #18426.