Fixes spec for admin users visiting unpublished pages.