Add support for optional password argument in config