Fixed authorization loss between restarts