Add config for session_lifetime and sentry_key