Update rp3 to support client_secret_basic.

To support client_secret_basic for token_endpoint_auth_method, I fixed some bugs and modified sources. 
I was trying to minimize updates. So I'd appreciate if you would review the updates and merge them.

Thanks.