base: secure url fixes

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>