Generate random cookie for rails app