Yes, although you’ll have tracking cookies while logged in, a VPN will still protect you from your ISP, hackers, as well as Google’s other data-tracking endeavors.