Attempt to fix teatro setup

It seems that the secret token env var was not persistent.
Now we generate the secret token as a file and things should be
persistent.

See @meeee's comment in #1681 (comment)