Octopic WebGUI Login appears when IP given?

What is the problem?
Why do I have a web gui login screen? I don't know the username or password for anyway?
My pi has been configured and is connected to a static IP. I use this to login in but the web gui says no? How do I fix.

What did you already try to solve it?
Set "firstRun: true" in the config.yaml and removed users.yaml, restarted octoprint and then refreshed but it does not ask me to set to anything just asks for something already saved which I don't recall.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

OctoPrint version : 1.3.10
OctoPi version : 0.15.0PE

Session information is likely stored so that it saves who you were the last time you visited. And that would be stored locally on your browser using a cookie, I'd guess. And the key to look up that cookie would be the hostname or IP address you used.

So in theory with a Raspberry Pi with wi-fi and Ethernet connections, OctoPrint might then bind to all of these:

  • octopi.local
  • [::ffff:]

If you first use http://octopi.local/ and log in, a cookie would be stored against octopi.local. But this wouldn't store anything in any of the other IP-related keys. But once you visit, say and log in, then a second cookie is created.