fix failure to update username with Rails 4 and Devise (closes #119)