Fix issue with password fields and Ruby 2.1