Node implementation for Bitbucket login.