[BZ-1169300] The CLI freezes in phase of requesting username/password

- reading freezes when using unix redirection