Revert "remove the passing of credentials with the payload"

This reverts commit 9dcc0cde1a53c5fd345b8fa7efd40ece5cdeca04.