Username fields should have autocomplete="username". Password fields should have autocomplete="current-password". Password and retype fields where the user is supposed to enter a new password should have autocomplete="new-password". Spec, Chromium guidelines. This will make using browsers' built in password managers a better experience.
See also T263800: Implement .well-known/change-password redirect on Wikimedia sites.