Fix incorrect settings of login url.