I use iMacros for Firefox + Dropbox for all web logins
and Keepass + dropbox for all other passwords.
Both programs store the passwords AES encrypted, and are thus safe to use with dropbox