Fixes #5821 - add capsule content authorization tests