Leachate from a worm bin and worm tea are not really considered the same thing even though some people use the terms interchangeably. Leachate can have some pathogenic bacteria, since it is liquid produced from the decomposition of the food in the worm bin. If the worm bin is deep enough (search for flow-though worm bins), the leachate can be pretty "clean" meaning free of pathogens. It really depends on how the bin is being managed. My bins have the food fairly close to the top so any leachate produced has gone through layers of castings and VC before it comes out the bottom. I still only use diluted leachate on ornamentals since I am not willing to culture every batch of diluted leachate I use before applying it.
Worm tea is made using finished worm castings (the more pure the better, but can be vermicompost [VC] - high percentage of worm castings and well-rotted/composted bedding/food). VC should have very minimal pathogens since the worms eat and digest the bacteria that are rotting the food. The worm tea should be made just like any other compost tea - a bag of VC into a bucket, stir frequently (or even better, aerate) for 24 hours, add molasses or other ingredients to enhance the beneficial microbes, aerate another hour or so, then apply. True worm tea I use on anything. There is still a small risk, but there have been studies done that show VC is pretty pathogen free due to the action of the worms. I will take that risk and I wash my veggies well before using, anyway.