Fixed things related to key/password in params.

refs #828