fixed preview post permissions issue by loading preview=true before unsetting cookies