Use new endpoint for OAuth#url_for_oauth_code

Hallo Alex,

I put together a quick fix for #290. What do you think?

Ps: This change completely ignores the state parameter. It works fine without it but I will open another issue to discuss what should be done.
PPs: I piggybacked a small fix of the build_url error msg onto this pull-request.