The “connectWithRetries” function uses the wrong parameters for the login() function call. It refers to BONITA_TECHICAL_USER twice but the 2nd parameter should refer to BONITA_TECHNICAL_USER_PASSWORD.
We normally get away with this because the “install” user’s default password is also “install”. But things break here if you change the password.