Lightly grease a loaf pan with cooking spray and set aside.
Start making the applesauce cake: In a large bowl, whisk together flour, apple pie spice, baking powder, baking soda, and sea salt. Set aside.
In a medium bowl, whisk together applesauce, egg, safflower oil, granulated sugar, brown sugar, vanilla extract, and almond extract until smooth.
Add applesauce mixture and chopped pecans to the bowl of dry ingredients and mix just until combined. (Do not overmix.)
Pour batter into the prepared loaf pan and spread out evenly.
Bake for 30-35 minutes, until the top springs back lightly to the touch and a toothpick inserted into the center comes out clean.
While the cake cools in the pan, make the glaze: In a small pot set over medium-low heat, whisk butter and maple syrup until smooth.
Sift in the powdered sugar and whisk again.
Remove the mixture from heat and whisk in the almond and vanilla extracts and 1 tablespoon heavy cream until smooth. (If the glaze seems too thick, add 1 more tablespoon heavy cream a little bit at a time.)
To serve, transfer the cooled cake to a plate, drizzle with glaze, and allow glaze to set for a few minutes before slicing.