Adds authentication to token