Fixes bug #77565: We listen to the Composer's loginstatechanged event and show and hide the tool.