Fixes lingering URL object bugs in OAuth
Empty body responses cannot be parsed, return null instead (fixes #82)