AuthType refactoring

Change `AuthType` to `AuthMethod`, to avoid confusing with other meanings of the word "type". Use `Nothing` as identity because this is the usual identity when one needs one. More importantly, using no authentication arguably means there is no auth method, rather than meaning some null auth method.