Fixed inability to read password from standard input