TISTUD-6972 Studio hangs with incorrect password during update
- DO NOT USE readLine(). We have no way to guarantee that it won't block. So I had to move to reading char by char and breaking it up by lines myself with checks after each read to ensure the next read wouldn't block.