Fix auth for non-tls servers. Add semple auth programm