Do not close System.in when using DefaultConsole

When running inside an environment that does not provide an implementation for System.console() (see [Eclipse issue 122429](https://bugs.eclipse.org/bugs/show_bug.cgi?id=122429), DefaultConsole is used.

DefaultConsole closes the System.in stream, which means that:
- two different passwords cannot be requested for a single command.
- if the application then requires a user input, it will fail since the stream has already been closed.