My understanding is that the first attempt is creating/enabling the root account with a blank password and that the subsequent login is actually utilizing it (which is kind of bizarre and probably why this was missed in testing).
Edit:
See: https://stackoverflow.com/a/33272796 for a bit more information of what I mean.