Dear Drupal community,
Please help.
We have a Drupal (4.7) site set up that some time ago started acting up. The problem has to do with logging in, or rather, STAYING logged in. We can log into the site, but not use any of the user functionality. The first step of letting us in is fine, but clicking on any item on the user menu “logs you out”: e.g. the user menu changes to a login box, and the content container, instead of displaying the requested page, says “Access denied. You are not authorized to access this page.” But, the funny thing is, if one stays on this page and logs in again on that same page, in the login box where the menu used to be, the page requested at first is displayed properly, but only until another link is clicked or the browser is refreshed. Logging in works, but refreshing the browser logs you out. There must be something wrong with what ever it is in Drupal that remembers you after you log in. Because we can't access any user functions, we as admins can't inspect the sessions/cookies/chaching settings to make sure they're okay. If we try to access the admin pages Drupal takes us to /manage/admin/ and a login form in the content wrapper.
Any ideas on what we might try to fix this? We are not sure when this problem started or what might have caused it. We only know that our users and us are unable to use the site.