Fix server-side login crash introduced in build 155.  Fixes #858.