Added error message if stdin could not be opened for password reading