Fixed remote tests so that they use SSL certificate by default