Fixed authentication using Bitbucket