Optional Server Password

Hi @vladikoff,

I've cleaned up and centralized some of the password logic here, and also made the password optional (e.g. empty password string conf is now treated as no password here).

cc @jamesreggio
Gah. Damn you github comments for not updating. :-1: