Calcium-induced folding of a beta roll motif requires C-terminal entropic stabilization.