You can do this using firefox addon called LastPass. This addon recognizes that subdomains and prompts you to use previously saved password.
LastPass is also a third party service which stores your password in 128bit encrypted cloud server. Your passwords never leave your system. Passwords are encrypted on system and then sent server.
hope this helps.