Navigate to cPanel's Directory Privacy interface (Home >>Files >> Directory Privacy). In this interface, you can modify the password protection settings for your domain. If your main domain asks for a password, modify the settings for the public_html directory.