UNDERTOW-331 Make sure identity is always an acceptable encoding