Rails/OpenSSL password management