Fix bug on HasValidSoapCredentials #100