Refactor user info extraction/persistence.

* Do de/serialization of userInfo object in $auth service.

* Wake and sleep are always "Time" objects now.