You might already know, that Safari has a nasty autofill bug where it fills email, username and password fields no matter if you set autocomplete=\"off\" or not
autocomplete=\"off\"
You can disable it by adding this attribute to password input
autocomplete="new-password"