You've written a lot of "sentences" and nonsense without even knowing how the systems work.
Ask first, judge later...
In mass setup (with flashfig or netinstall), the password isn't needed at all, not even afterward...
and device mode can be set without any problems (in mass setup of new devices).
Then if you have no experience in this regard, or don't know how to do it, that's another matter.