set the scret key/token automatically in test/dev environments