location-agnostic way of invoking twofactor-wrapper