scripts: Implement refresh project token script

Fixes #281.