same here

   password = nil
   db.authenticate(ENV['SASL_USER'], password, true, source, 'PLAIN')

then below:

    password = 'foo'
    db.authenticate(ENV['SASL_USER'], password, true, source, 'PLAIN')