Fixed issue where set password would error out