Initialize the APP_KEY during the configure step
The APP_KEY is used for encrypting stuff and should be initialized once
and then never change.
If we generate it in the container it currently doesn't presist, so
generate it in the configure step instead.