Move #redirect_if_unauthenticated method to the ApplicationController
Make tests for CompaniesController
Make CompaniesController tests pass