getSession initially returns null session, which leads to incorrect rendering - Supabase