I'm having trouble logging in to the admin panel if I set
omitScriptNameInUrls to true in the general config file. The login works well on a subdomain, which is odd. It seems that asset loading is messed up with that setting. Random files seems to be broken with an 500 error.
Tested in incognito mode, no luck.
I've seen other admin login error questions here, but I had no luck with them.