If one enters false proxy settings and enables proxy, Spark is still able to login to a server. Looks like it always fallbacks to direct connection ignoring proxy settings. The related proxy patch didn't change this situation (probably worthless and should be reverted). If a user enables proxy, it should be mandatory for Spark to only connect via that proxy. If it can't connect, it should throw a connection error.