Fix http authentication

Enforce https
Add extra options to .downloadMatrix