Fix API request duration reporting

We were straight adding the number of seconds to the number of milliseconds
without proper conversions.