Fixing early "Code" popup on login