Prevent flash of unstyled content in login nav