Added option to read username/password from command line if ENV variables are not present.