In BP Group Documents, only set cookie on the front end

This prevents conflicts with bp-moderation and the 'order' $_GET param