Handle Pebblebed::InvalidUid as HTTP 400.