title: Mercurial bitbucket authorization failed
body: <p>I changed my Bitbucket password based on 1Pass's watchtower recommendation. Ever since, I can't pull / push any of my repos, although I can login via a browser. I've tried both HTTP and SSH, and neither work.</p>
  
  <p>Here is a sample output.</p>
  
  <pre><code>hg pull --debug https://caliChander@bitbucket.org/caliChander/cs1
  using https://bitbucket.org/caliChander/cs1
  http auth: user caliChander, password not set
  sending capabilities command
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  using auth.bitbucket.* for authentication
  http auth: user caliChander, password *******************************
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  http auth: user caliChander, password *******************************
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  http auth: user caliChander, password *******************************
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  http auth: user caliChander, password *******************************
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  http auth: user caliChander, password *******************************
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  http auth: user caliChander, password *******************************
  using auth.bitbucket.* for authentication
  bitbucket.org certificate successfully verified
  abort: authorization failed
  </code></pre>
  
  <p>I'm curious as to why it says "password not set" when my <code>~/.hgrc</code> looks something like this:</p>
  
  <pre><code>[ui]
  username = First Last &lt;some.email@random.com&gt;
  [auth]
  bitbucket.prefix = bitbucket.org
  bitbucket.username = caliChander
  bitbucket.password = some_very_long_password_here
  bitbucket.schemes = http https
  [web]
  cacerts = /etc/hg-dummy-cert.pem
  </code></pre>
  
  <p>My gut feeling is that certain characters aren't allowed in the password field? This was randomly generated via 1Pass. Is this so?</p>
  
  <p>Just in case it's needed, the <code>.hg/hgrc</code> in the <code>cs1</code> repo looks like this:</p>
  
  <p><code>[paths]
  default = https://caliChander@bitbucket.org/caliChander/cs1</code></p>
  
  <p>I'm on OS X Mavericks. Thanks for the help!</p>