fix issue #22 - added preemptive basic auth to mmc and cloudhub