Fix requirement of double password in the API