Check whether proxy has been logged in. When logged in/out, it pops a window.