This is for a coded UI test in Visual Studio 2010. The MSDN documentation for the HtmlEdit.Password property says the following:
"Gets the encoded content of this edit control."
It unfortunately doesn't say HOW the password is encoded. I'd like to run some data driven UI tests, but it appears that all of the passwords would need to be encoded ahead of time in the data store before being passed to the Password property. The UI Automation recorder will encode the password for you when recording, but I'm not sure how to perform the same encoding in code when driving the automation.