title: python sharepoint - Error validating credentials due to invalid username or password
body: <p>I want to automate downloading a zipfile on another organization's sharepoint site that they have shared with my organization, inviting us as a guest using a generic company email address so we can access the files. To gain access, I provide the company email address as username and its associated AD password which authenticates access through our MS 365 organization account.</p>
  <p>This works fine manually, but when attempting to do it through shareplum I get a credentials error.</p>
  <p>Here is my code:</p>
  <pre><code>from shareplum import Site
  from shareplum import Office365
  from shareplum.site import Version
  
  sharepointUsername = 'elvis.presley@suspiciousminds.org'
  sharepointPassword = 'oogabooga123'
  sharepointSite = 'https://abc.sharepoint.com/sites/ClientLogin/Shared Documents/Graceland/'
  
  authcookie = Office365(website, username=sharepointUsername, 
               password=sharepointPassword).GetCookies()
  site = Site(sharepointSite, version=Version.v365, authcookie=authcookie)
  </code></pre>
  <p>And here is the error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;&lt;string&gt;&quot;, line 11, in &lt;module&gt;
    File &quot;C:\arcgispro-py3-clone2\lib\site-packages\shareplum\office365.py&quot;, line 88, in get_cookies
      sectoken = self.get_security_token(self.username, self.password)
    File &quot;C:\arcgispro-py3-clone2\lib\site-packages\shareplum\office365.py&quot;, line 80, in get_security_token
      raise Exception('Error authenticating against Office 365. Error from Office 365:', message[0].text)
  Exception: ('Error authenticating against Office 365. Error from Office 365:', 'AADSTS50126: Error validating credentials due to invalid username or password.')
  </code></pre>
  <p>Any clue as why this is not working? I've checked the credentials several times using them to log in manually and it works every time (obviously the example does not have the real username/password)?</p>