If you must use public WiFi, and you must log in to LastPass, then do it while connected to a VPN. A VPN allows you some nice privacy and security features in this situation.