Ability to change password fix for rails 4.1