Updated to remember the strategy on session and use it when validating the payload.