I created 2 login pages of same domain.
I put the form name different for 2 forms
thanks to the idea of albert.garipov, i made a solution that mimics the functionality of the type password. this doesn't show the password on input
function OnChangePassword()
{
if ($("#password").val() == "") {
$("#password").attr('type', 'text');
}
if ($("#password").val() != "") {
$("#password").attr('type', 'password');
}
}