removed junk, cleaned up compilation so it all works. this is now a working end-to-end setup for an OAuth provider from Android.