copy of code.google.com/p/goauth2/oauth