Added SAM that authenticates based on a token from the request.