Adds autofillHints property with AutofillHints.password to the password
TextFormField in PasswordField widget. This enables password managers
like Bitwarden to properly detect and autofill password fields on
Android devices.
Without this hint, the Android autofill framework cannot identify the
field as a password input, preventing password managers from offering
autofill suggestions.
Changes:
- Added autofillHints: const [AutofillHints.password] to TextFormField
in lib/widgets/auth/password_field.dart
Tested on Android with Bitwarden password manager.
The api token toggle is now only visible when showing a custom server, since at
the moment this is the only time when such an auth method makes sense (plus it
keeps the rest of the UI cleaner). The different fields in the screen have been
moved to individual files, to make the structure clearer.