I have have the exact same issue.
But when I use:
userTextField.textContentType = .username
userTextField.keyboardType = .emailAddress
newPasswordTextField.textContentType = .password
confirmPasswordTextField.textContentType = .newPassword
I got both new and confirm password filled, but the listener on the confirmPasswordTextField is not called.
Did anyone find a solution?