Remove the relationships among authpage,portalpage and node.