Rewrite the Rails oauth example and close #87