Support --username and environment variable to set username
#1721
+145
−1
--username and environment variable to set username
#1721