I have the same problem, but mine only happens whenever I log out and then log back into the app. It turns out that the msal.interaction.status is not deleted and remains in the session. I fixed it by clearing the session before running msalInstance.loginPopup().