Topic: account registration fix

I've found a change in the API which made registration impossible.
I've implemented it, so registration is working again.