Update register_middleware call
Hook into webmock in tests as workaround for Faraday VCR bug