HTML mode used for spy element and AA/Win32/Region Mode used for Window Application as you are using Window Application.
You can do two things here:
Option 1- First Spy password textbox via HTML mode in application modular & later use write stage to provide value to textbox
Option 2- In case Write stage will not work then you would move to GSK/GSKE text input methods and use navigate stage .