Fix API issue with creating CAS users, password errors