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
It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.