fix links on login pages