Can you post a picture of the egg case?
It should be fine in a Nepenthes terrarium as long as it's nice and humid, some people say to mist the egg case every day but I don't cos if it gets too wet it can rot. As long as there is condensation on the glass it's humid enough. Mantid oothecas can be problematic, too warm, too cold, too wet, too dry, etc. and they don't hatch. But give it a few months (or until it looks bad) before giving up on it.
Just incase nobody told you, look for the little "zipper" or knitted groove on the front of the egg case and hang it or hot glue it to a stick so the groove faces downward so the babies can use gravity to "slide" out of their cells in the egg as easily as possible.