fixed an issue with Bitbucket OAuth
Merge remote-tracking branch 'upstream/master'