When trying to access the cPanel\WHM control panel , you’ll be prompted to enter the username/password through a pop -up screen. To get rid of that pop-up screen,
login to the WHM >> Server Configuration >> Tweak Settings
and check: Disable Http Authentication for cPanel/WebMail/WHM Logins (forces cookie authentication)