Makes no difference for the general public if the pirate bay is behind cloudfare or not. It's not illegal to browse the site or download a .torrent file or magnet link from there. If anything illegal is done it's done at the users end and away from the site. Nothing logged by cloudfare is of any relevance. I would expect staff login in a different way, bypassing the cloudfare part and going directly, so that their details are not logged.
Connecting to a swarm of a torrent gives away your IP address anyway so that is where someone would have to worry, not over cloudfare logging their ip as visited a site.
Lets also not forget that downloading/uploading copyright content is not actually illegal in every country, so some tpb visitors will not be breaking the law of their land anyway.
Totally agree with the point made above that TPB should not be illegal as it hosts no copyright content at all, just links to places that do (or meta-data), in the same way as search engines and youtube search do.
Never use TPB back but glad to see it back and sticking its fingers up at the copyright cartels.