add accesstoken generation in support of MQTT clients to principal
merge long lived accesstoken to master