Allow generation of various authentication secret lengths.