If you have enabled the Autofill passwords feature, Safari will ask you to save the password or not. To stop that, go to Settings > Passwords > Password Options and turn off AutoFill Passwords.