Russia's invasion of Ukraine is making its future uncertain - but so too is its authoritarian past.