removed preferences link from login failed page.