Adapt to Devise > 2.1