If you cut the cord so the hot line splice is like four inches from the neutral line splice, up can also TIE the middle between the two splices tightly together with zip ties to help avoid any pulling apart. then you could use ordinary wire nuts.
I agree hidden between is where the splice would be good. Or behind so it is invisible to sight.