MDL-59510 core_oauth2: add autorefresh mode to oauth2\client