Fixes crash when trying to use team sites.

It appears that Javascript integers are converted to Scala Double which causes logging code (invoked via log.js/serverhandlers.tasks.trackerAndSessionIds -> logging.scala/logObject), which expects String, to fail.