Reinstate overwritten changes made in PR #58

As per @andreareginato's request here: https://github.com/andreareginato/oauth-ng/pull/58