title: Smack and SASL Authentication error - No known authentication mechanisims
body: <p>I am trying to create an XMPP client using the latest version of Smack 4.1.0-beta. But i am running into an error when trying login into a local running OpenFire server. </p>
  
  <pre><code>org.jivesoftware.smack.SmackException: SASL Authentication failed. No known authentication mechanisims.
  </code></pre>
  
  <p>I tried all kind of combinations of user credentials but so far no luck. When trying to connect to the server with Pidgin or Adium al is ok. Any clue what i am missing in the code?</p>
  
  <pre><code>XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
              .setUsernameAndPassword("admin", "admin")
              .setServiceName("localhost")
              .setHost("localhost")
              .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled)
              .setPort(5222)
              .build();
  
      AbstractXMPPConnection connection = new XMPPTCPConnection(config);
  
      try {
  
          connection.connect();
  
          connection.login();
  
          connection.disconnect();
  
      } catch (SmackException e) {
          e.printStackTrace();
      } catch (IOException e) {
          e.printStackTrace();
      } catch (XMPPException e) {
          e.printStackTrace();
      }
  </code></pre>