code: function registerJwtCookie(server) {
          server.state('jwt', {
              ttl:        cookieConfig.ttl,
              domain:     cookieConfig.domain,
              isSecure:   cookieConfig.isSecure,
              path:       '/'
          });
      }
docs: Register the cookie used for the JSON web token.
  This is only used on the webserver since the API
  will get the token in the header of the request.
  
  @param server