Add command line option to load password from file (#7832)