Make glance upload and neutron net tasks work with CA-cert.

Before, a ca-cert file was unconditionally specified in
these tasks, which broke environments using ca-signed certs.

Now, a ca-cert file is specified only if a self-signed cert is in use.