If you installed your website's software via our panel and then changed the URL in your website software's admin panel and the automatic login doesn't work anymore, then here's what you need to do.
Go to cPanel > Softaculous and find your software installation.
Click on the "Edit Details" button.
Update the "URL" field to match the new URL that you set up.