auth: Catch out_of_range exception when parsing serial
auth: Handle out_of_range exception when parsing serial
Unsure if we can actually get a bad serial here, but we are checking
the number of parts so it looks like it might happen.
auth: Remove leftover ERANGE check when parsing serial
On the second commit: the pain is that we parse the wire format into text and then split it, which is terrible. In theory indeed we should not get out of range there but checking is good. One day we should stop making it text.