Add Basic Auth and AADOAuth for scheduler

Add Basic Auth and AADOAuth for scheduler