Fixed authentication using Bitbucket
Merge pull request #41 from mdxs/fix_bitbucket

Fixed authentication using Bitbucket (and adding email retrieval)