Fix generation of auth_encryption_key in migration

The length of the secret needs to be larger than 32.