task: cleaning up shared tests

This one is fairly straight-forward.

In my X509 work I mentioned that I thought we needed to clean up the shared tests for auth and ssl, here it is. I've re-organized a few things and combined the ssl tests in a single set of shared examples.