Configuration Site and User pages don't load in admin when changing site url to domain root folder

I have grav installed in a subdirectory. I followed the instructions on https://learn.getgrav.org/advanced/change-site-url by updating the custom base url to the domain root folder. I set the session path to “/” and added the rewrite rule via htaccess. The website itself loads properly.

However, the user page generates a 404 error and the configuration site page is blank. Note The other configuration pages (system, media, and info) all load fine.

I’ve noticed including the subdirectory in the custom base url fixes the problem pages, but then I wind up with the subdirectory displayed in the url of the site.

Anyone know what might be causing this? If it helps the site is hosted on sitegrounds.