Use site_url() instead of SERVER_NAME for Redirect URI.

Tested with Heroku. On Heroku the SERVER_NAME resolves to localhost. With wordpress function site_url() it will resolve to what the WP admin has set of the site.

Important fix to make this plugin work "in the cloud".