Fixed testRegisterPasswordBasedWithExistingUser