fix PF OAuth 2.0 RS functionality after upgrading to jansson
autoconf libapr and include test code in distribution