Tests for SSL auth

Not a big improvement but still.