At some point you told Safari to save a password for a site. Now to ensure the person using Safari is the user of those stored passwords, Safari asks you for your password so those stored passwords will be available on the sites.
Reset safari , Remove caches folder from Mac HD and your Home Folder Library .
Try to Remove the login.keychain from your home folder -should fix the problem .