Fixed issues with loading after logout.