I'm actually doing the same with a confirm alert, it's due to transitioning to the new page before closing the alert, my timeout is about 200 ms.
I avoid using any alert before transition or even too son after page load, i wrapped the nav.present(alert)
in 50 ms delay to avoid that kind of error when transitioning to new page if that one can show an alert from start.
It actually looks to be with the same purpose as yours, to send the user to LoginPage.