Fix loading bar shown after logout