Generate the key used for session hashing individually for each server instance
(cherry picked from commit 118a4f7)