Set cookie after registration