Fixed registration (was hashing password twice).