Add support to get jobs with AADOAuth and Basic auth.

Add support to get jobs with AADOAuth and Basic auth.