The hints tell the OS what each field expects. The group links the fields into one credential, so tapping the suggestion fills email and password together.
AutofillHints.username does more than filling saved logins: OS suggests the user's email addresses above the keyboard even when nothing is saved yet.
For sign up and password reset, use AutofillHints.newPassword instead of password. Then OS offers a generated strong password right on the keyboard.
Some hints only work with a matching keyboardType. AutofillHints.email needs TextInputType.emailAddress, and AutofillHints.name needs TextInputType.name.
Filling is only half of it. Getting the typed password saved into the manager needs one more call, that's the next detail.