After you've generated the member for the PasswordField, you will get something like:
Code:
Private PasswordField As Node
in Process_Globals (depending on what you've set the CSS id to in the Designer). Just change the word Node, to TextField.
Code:
Private PasswordField As TextField