Refactoring: renamed cookie to token.