Fixes #2974: Rely up on username/password from environmental variables if they're unset in the config