Added an initial test case for authcode exchange.
Fix authorization code request data format for test.
Add an InvalidCode error
Add authorization code exchange handler.
Fix Redirect URI validation and usage with authcodes