Update devise version in gemspec. Update devise.rb settings. (reverse-merged from commit 5a5f813782fe12b24781f79090ed68c8e3e414a8)