Disable the login message hooks automatically