Fixed full PHP test OAuth flow. Get request tokens, create link, authorise consumer, generate access tokens, then use access tokens to get upser data from WP-API /wp-json/users/me for the authenticated user.