Fixed Security::cipher when suhosin is enabled

When a server has suhosin enabled the Security::cipher doesnt work because suhosin makes PHP call srand after each rand.