Make length of session key configurable.