The cPanel support told me this:
You will need to disable Cloudflare for
cpanel.hiddenurl.dev if you wish to use it to access cPanel and ensure all cPanel features will work properly when using it.
You should be able to disable Cloudflare for
hiddendomain and still have it resolve to just your server’s IP. Cloudflare’s support should be able provide you assistance with doing so.