I want to be able to automatically restore login information when starting a disposable VM

You can do it automatically:

You can try to do this with Cookie Quick Manager, export youtube/google cookies from the firefox where you’re logged in youtube, copy them to DVM template and then import them in disposable after each start:

It could be possible to do it automatically in policies.json by configuring Cookie Quick Manager settings as well, but it needs to be tested.