Modifiying source code to include password (special client)

I am building our own version of Spark to use internally as a notification system in our mills.

The PCs are not on the domain, and the accounts used to run them have no password set (vendor requirement, not mine. I know its a bad idea but they won’t support us without it).

Is it possible to hard code the password that spark will use to sign in for the version I build for the mills?

I’ve been looking through LoginDialog.java and there are quite a few places where the password is called and set, so I am not sure yet which One(s) I need to hard code into.