Fixed regression in oauth service flow