Read password from stdin in all cases