Port part of the company- and auth- related tests to common header