Fix a ClassCastException on AuthorizationModule
For jetty client, does not decode the input representation since jetty has already decoded the input stream.