How does this work with more complex authentication schemes, like AWS?