Removing separate status code check from oauth.go:
It was redundant. Replaced it with the checkResponse function from client.go