I use Sigmachat (java) for my need (inexpensive, feature-filled) and I have figured out how to pass the username variable for auto-login, but how does one decipher the password variable into plain text?
If the java applet sees an authorized password, it will give that user admin rights, otherwise they are just a normal user.
BTW, you can check out this great off-site chat app and other cool comms apps at
http://raidersoft.com