After the server is restarted, client-side code still thinks that the user is logged in, even if the server-side session has been invalidated. This causes some inconsistencies, such as the login button disappearing on access-denied pages, like here: <img width="650" alt="screen shot 2018-12-03 at 11 14 47" src="https://user-images.githubusercontent.com/440384/49367539-a7a31e00-f6ec-11e8-8712-fe8844d41117.png">