I always carry a travel router in my laptop bag, which makes this whole process much easier. I have all of my devices paired to the travel router and use the router to connect to the hotel/client/ship/plane's WiFi. I handle the captive portal on my phone or laptop ONCE(!) and then all of my devices automatically start working.