For user domain that are using CloudFlare nameserver, you might be facing the below issue:
Issue:
Upon login to cPanel/Webmail using YOURDOMAIN.com/cpanel OR YOURDOMAINNAME.com/webmail, the cPanel interface or webmail selection page have no images (or stylesheets or javascripts) load and might log out moments later.
Resolutions:
Login into CloudFlare DNS panel and update cpanel.YOURDOMAINNAME.com and webmail.YOURDOMAINNAME.com to hosting server IP. Upon update, may browse both cpanel/webmail.YOURDOMAINNAME.com to login into cPanel/Webmail end where the layout will resume normal.
Official CloudFlare KB article:
cPanel won't load or keeps logging me out after enabling Cloudflare