Sourcetreeからプッシュしようとすると、下記のようなBitbucket.orgのパスワード入力画面が出て、

Bitbucketにログインするためのパスワードを入力するのですが、
再度入力画面が出て、パスワードを入力しても先に進めません。
最終下記のように、usernameかpasswordが無効であるというエラーが表示されます。
Pushing to https://bitbucket.org/XX.git
remote: Invalid username or password
fatal: Authentication failed for 'https://bitbucket.org/XX.git/'
Completed with errors, see above
一旦Sourcetreeを削除して再度インストール、ローカルレポジトリを作成し直しましたが、状況は変わりませんでした。対処方法を教示頂けると助かります。
Sourcetree 4.1.0
macOS Mojave ver. 10.14.6
を使っております。