Fix namespaces of encryption classes and encryption tests

@schiesbn @DeepDiver1975 @LukasReschke @MorrisJobke 

Closes #12716