Go to Safari, click the word Safari (drops down a menu), go to Preferences, then click on AutoFill. Make sure 'User names and passwords' is selected. This will tell your Mac to save all those name/password combos in Keychain. Note that Firefox stores passwords in its own password manager