You can call the method before you install a terminal. It changes only the terminal definition; the new user ID and password will be used for the terminal when install is called.
void alterSecurity(const char* userid,const char* password)
Allows you to re-define the user ID and password for a terminal resource.