Cleaned PostsController test. Refactored authentication test code into AuthHelpers