Remove some dead login code.