iOS - Password save alert controller disappears when app moves to background - How to retain UIAlertController?

The password save(password autofill) alert controller is shown when the user login. But if the app is moved to background and comes back to foreground the password save alert controller disappears. This issue occurs only in case of iOS 13 but in iOS 12 it is working fine. Many have reported such issue in case of Custom alert controller https://developer.apple.com/forums/thread/123792 But as this issue is related to system alert controller. Looking for a way to fix this?