add the possibility to force Tls (prevent login if tls is not present)