Fix clear when logged out.