fix inputtype for password

set the input type after setting the text colors as it actually breaks the inputtype password