Fix import on functional tests
Seems like Encoding is now found on from cryptography.hazmat.primitives._serialization instead of cryptography.hazmat.primitives.serialization.base
Seems like Encoding is now found on from cryptography.hazmat.primitives._serialization instead of cryptography.hazmat.primitives.serialization.base