Fix issue #774: Devise generates invalid confirmation tokens