Fix shell relogging in.