Add authentication in test environment