ENSEK interview question

How do you handle authentication when developing automated API tests?