Cockpit login failure

I got uCore installed and I was able to connect via SSH using pre-shared keys. When I started the cockpit service, I was able to login using the userid “core” and the passowrd I set for it. Now when I try to log in to the cockpit interface, the page thinks about it for a second and then returns to the login page with no messages. How do I fix this?

OK, it was my fault because I changed the server name in the cockpit config. Overrode it to localhost and then was able to login and fix it.