Ensure proper dependencies

This PR tries to ensure proper ordering so that the tls-auth.key is present when needed.