Adapt Devise to work properly in both contexts (Refinery and IPO)