Fix faulty oauth test