Where does Safari store passwords?
Your login keychain should be where your passwords are stored. But it's worth noting that there is a "System" keychain in /Library/Keychains as well. Additionally did you log out/restart and log back in after replacing the keychains?