Passwords are not read from properties. I've done a little research so far and I'm pretty sure GlassFish doesn't manage this part for you. You will have to do the authentication yourself, possibly via transport.connect(...).
I have not had any further time to spend on the example I mentioned though so I can't give a more detailed answer yet.
[Message sent by forum member 'peterwx' (peterwx)]
http://forums.java.net/jive/thread.jspa?messageID=267231