Fix: Was using string and not boolean

Foolishly used some example code.  Now properly using boolean.
Fix: method naming convention mistake.

Corrected getter name for withCredentials.