Why was this removed? Is that wrong? Either way it has nothing to do with the autologin cookie. If it is a bug that you fixed while you were at it it would make sense to at least put it into a separate commit with a short explanation.