Valve introduced Steam and it's security by Gabe announcing his login and password to the world. You couldn't get in though precisely because of the 2FA.
This was a LONG time ago when things being secure on the internet wasn't a given to most people.