Unpublished jobs should return 404

Fixes #19.