Encryption enabled for Agent

Agent now can use secure login.