title: CookieAuthenticationProvider does not set Expire state
body: <pre><code> app.UseCookieAuthentication(new CookieAuthenticationOptions
              {
                  SlidingExpiration = false, // needs to be set to true , default value is false
                  ExpireTimeSpan = System.TimeSpan.FromMinutes(20), // possible values: min. 5 minutes , max 14 days
                  CookieName = CookieName,
                  Provider = new CookieAuthenticationProvider
                  {
                      OnValidateIdentity = OnValidateIdentity(),
                      OnException = context =&gt; {
                          CommonLogger.Debug(&quot;Cookie authentication encountered some issues&quot;, context.Exception);
                      }
                  }
              });
  </code></pre>
  <p>Hi guys,</p>
  <p>the Expires/Max-Age of my cookie always gets set to &quot;Session&quot;. Any idea why the code above is not working?</p>
  <p>Adding this code did also not help:</p>
  <pre><code>  context.Properties.AllowRefresh = true;
    context.Properties.ExpiresUtc = DateTimeOffset.UtcNow.AddMinutes(13);
  </code></pre>
  <p>Thanks</p>