added functionality for passing auth requests to providers