fix fail test of oauth service due to org service api changes