The problem is control.Value with the capitol V. I changed it to value with a small v and I recieve the values. That's very strange because the capitol V went in by the VS 2010 intellisense.
That fixed that problem but because I was using the asp.net Login control when the text boxes turn blank the post back didn't take place. Since I'm using a template and my own button and my own authentication I really don't need the Login control so I made it all without the Login control and now it's working withuot showing the save passwword message and doesn't save or auto complete.
My final javascript code is:
function LoginPrep() {
var txtUserName = document.getElementById('<%= UserName.ClientID %>');
var txtPassword = document.getElementById('<%= Password.ClientID %>');
var hdUserNm = document.getElementById("hdUserNm");
var hdPasswrd = document.getElementById("hdPasswrd");
hdPasswrd.value = txtPassword.value;
hdUserNm.value = txtUserName.value;
txtUserName.value = '';
txtPassword.value = '';
}