copy vendor/magento/module-customer/view/frontend/templates/account/authentication-popup.phtml to app/design/frontend/{your-template}/Magento_Customer/templates/account/authentication-popup.phtml And remove: <?php if ($viewModel->isGlobalScopeEnabled()): ?> , "Magento_Customer/js/customer-global-session-loader": {} <?php endif; ?>