Add Basic Auth and AADOAuth for scheduler