bgdata: Fix LWP::UserAgent usage