Fix in-band registration ({register: true})
Merge pull request #160 from denisw/master

Fix in-band registration ({register: true})