[#63671980] GET /posts only shows published posts to visitors.
[#63671980] Adds tests for PostsController.