title: Master Password with Devise
body: <p>I am following <a href="https://github.com/plataformatec/devise/wiki/How-To:-Configure-a-master-password" rel="nofollow noreferrer">this link</a> to configure a master password with Devise.</p>
  
  <p>Everything works fine in my developement and I am able to login to every user with the master User's password. But in production(I have used Heroku for deployment) the build process breaks down. I have used Compose to host my database with SSL support.</p>
  
  <p>The error is:</p>
  
  <pre><code>MONGODB | SSL handshake failed. MongoDB may not be configured with SSL support.
  </code></pre>
  
  <p>I debugged the code and found out the potential culprit:</p>
  
  <pre><code>DEFAULT_MASTER_USER = self.find_by(email: DEFAULT_MASTER_USER_EMAIL) 
  </code></pre>
  
  <p>Any ideas how to resolve this?</p>