Fix login and search TLS configuration Upstream-commit: 3f5ea1bb8063d060e63040df6a6d11cf9f3619b5 Component: engine