Spray a loaf pan with cooking oil then line with parchment paper so that it comes up the sides completely.
In the bowl of a food processor, add all the ingredients except the sesame seeds (or coconut) and pulse until the mixture is combined but not completely blended. The dough should be textured and crumbly. You may need to push the dough down with a spoon or add a couple tablespoons of water to get it blended well.
Form the dough into a ball with your hands and place it in the lined pan. Press the dough down evenly so it reaches the corners.
Sprinkle the dough with the sesame seeds (or coconut). Press the sesame seeds (or coconut) slightly into the dough with your hands.
Refrigerate for 1-8 hours, then remove the parchment paper onto a cutting board and cut into 8 pieces with a sharp knife. Store in the refrigerator for up to 5 days.