Fix crypt test bug in 5.6