[BUG] In Linux client closes on "log out", Spark 3.6.0 RC1/SVN

When logging out in Spark on Linux (Ubuntu 10.10) application simply closes without throwing any exceptions/errors (Windows client asks for login credentials - correct behavior). Tested with Spark 3.6.0 RC1, as well as latest build

SPARK-1207