Fix password bug in custom registration backend

When creating new users I was saving the unhashed password rather than
calling set_password which made it impossible for newly registered users
to log in.