cleanup of old samples using xml signatures, and also fixed up the
authorities authentication provider stuff.