Fix undefined variable 'path' for http_login
Land #2189, @wchen-r7's fix for [TestRM #8279]
Make msftidy happy with http_login