FIX: Properly set the secure connection URL