Updated the used error codes in passman to reflect the new API