test: Easing authentication setup in test environment