For putting the web authentication we always use the .htaccess or apache configuration file. For removing the web auth from folder you need put following code in .htaccess file.
How to remove the AuthType Basic
01 | <Directory / var /www/html/> |
03 | #AuthName "By Invitation Only" |
04 | #AuthUserFile /etc/httpd/passwd/passwords |
09 | <Directory / var /www/html/> |
without directory use the following code.
#AuthType Basic
#AuthName “By Invitation Only”
#AuthUserFile /etc/httpd/passwd/passwords
#Require user wpapi
#Require valid-user
AuthType None
Require all granted
Satisfy Any

Apache auth is very important for testing important. Thanks for information.