Check AuthError

If Dropbox returns a JSON encoded error the tokens Split will fail. I added back the code removed in #8 but ignoring the Unmarshal error, which was causing the func to return an error when the token was successfully obtained.