build login url from config url