Need to initialize TLS context before changing user