ensure login url is set