title: Session still authenticates after server restart?
body: <p>Ok, so, I'm able to login in a user successfully. And logout. Then force a user to log back in.</p>
  
  <p>What doesn't seem to work is when the user authenticates, does an action that causes the server to restart, then when the server comes back up, the user is still authenticated.</p>
  
  <p>This is on a hardware device, so there's no persistent storage. Somehow maybe python flask login "trusts" the cookie once its sent, always? I feel like I'm not fully understanding what Flask Login is doing...</p>
  
  <p>I have no real user store. There's only one user. Here are some code blocks I have, if it helps anyone:</p>
  
  <pre><code>@login_manager.user_loader
  def load_user(id):
      return User(id)
  
  class User(FlaskLogin.UserMixin):
      def __init__(self, id):
          self.id = id
  </code></pre>
  
  <p>And the login method itself (some stuff removed of course):</p>
  
  <pre><code>def login():
      sysPassword = supersecretmethodherethatreturnspasswordasastring()
  
      if flask.request.method == "POST":
          password = flask.request.form['password']
          username = flask.request.form['username']
  
          if password == sysPassword and username == 'static-user-name':
              user = User(username)
              FlaskLogin.login_user(user)
              return flask.redirect("/dashboard")
          else:
              return flask.render_template("login.html", error="Incorrect password. Please enter the correct password.", product=productid, products=defaults.products)
  
      return flask.render_template("login.html", error=False, product=productid, products=defaults.products)
  </code></pre>