The course section is visible for a split second

I have blocked the guest access to the LMS website. When I try to access the LMS as a guest, the dashboard is displayed for a second, and then the sign-in option becomes visible.

Is there a way to fix this flash view of the dashboard? It seems a security risk.

Here is issue video - Loom Message - 30 June 2025 | Loom