Better handling of unknown auth types