login_port can refer to either HTTP or HTTPS, which can lead to an error on the System page.