Fixes for getting signed post variables

Stay with the spec and only use application/x-www-form-urlencoded POST
requests.

Change-Id: Idc7578096bec94fd5ca39fd4fe69a8a7c90ea2b2