Read from the DynamoDB backend for user consent.

We need to set the session token in the cookie here, so the client can redirect without losing the session, keeping the user signed in through the process of giving consent.