Fixed wrong password storing in user registration.