Support https for mongo console for when mongo has SSL enabled.

When mongodb is configured with SSL, the web console requires https.