I am currently struggling with this problem. When running UI tests for my iOS application I want to acquire an authentication token from an API first, in order to be directl