Fix authentication for dumb miners
Merge branch 'master' into peercoin