I installed my Civicrm with the IP address of the server which turns out to be a "Bad Idea" (TM). Now when trying to enter various posts, such as membership details or new events I keep getting "logged out" (clicking save redirects to a login page for the IP-address).
I tried changing BASEURL in the civicrm.settings.php file, then clear all caches - but I still get this behaviour. Which is extremely annoying. How do I fix this?