Default to using a random secret_token in test mode.