Updated test cases for OpenSSL 3.0.
Added load legacy provider for obsolete algorithms.