added more randomness to cookie encryption