(PUP-3593) Address SSL cleanup and puppetserver restart timing issues in acceptance tests.

@hlindberg Here's the commit with a refernce to the JIRA ticket.