You would need to run
sudo httpauth example.com -wp-admin=off
The command you mentioned says "you can use the following command and every site created after that will take this setting." so won't change an existing site.
Hope that helps.
PayPal · GitHub Sponsors · Bitcoin