Allow using all auth types by default, and also making authentication optional

`$is_pptional` => `$is_optional`