We could prefix passwords that need to be converted with a special prefix with a migrations file and then just handle those conversions in the passwords manager or in a similar way.