Use the same session token generator as navajo.client
refactor + extract interface