Adds secure password and rspec test

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>