Trying to log in to Web UI causes "session is no longer valid" warning