Properly return the error responseCode when login is already taken
Improve SRPRegister tests
Merge remote-tracking branch 'chiiph/feature/fix_test_srpregister' into develop

Nice reworking, all things deferreds!

Note that in this commit we're removing a couple of tests that should
go in test_srpauth... soon.