Fixed the issue with login box showing when logging out.