This needs to be more general: Allow a map of properties to be set in the config. Username and password would be a part of that (and should work out of the box). This can can be done in a later commit/PR.