Add PASSWORD contextualization string from user input

I have a template with a user input:

USER_INPUTS=[
  PASSWORD="M|text|Enter desired login password:| |" ]

When a user instantiates the VM and types in a good password, this line gets added to context.sh or one_env:

export PASSWORD="$PASSWORD"

Instead of ‘abc123’ the password gets set to “dollar sign - pee - ay - ess - ess…”. Obviously not what I want. I know I should use PASSWORD_BASE64 but the Windows contextualization script doesn’t understand this. It wants PASSWORD="abc123" in the context.sh file. How do I make it do this? Why does ONE add PASSWORD="$PASSWORD" - where does it get that from?