Extend credentials python API to include set_machine_account.