SERVER-10186 setUpSecurityKey now only considers the true key length of the key from the file given

setUpSecurity previously would check the file size before actually checking the length of the key. This would filter out keys that exist in files with multiple LFs/CRs