Fixed a regresion where minimizing while on the main view would result in no authentication screen being shown when reopening the application.