Replace config.secret_key_base with secrets.secret_key_base in test