Merge pull request #5 from amsross/master

Fix query_var mistake and allow for new no-team login rules from Bitbucket
use AUTH_SALT if no $key provided, cheers @nerdworker