fix rewriting of authorized_keys when removing.