fixed missing POD for auth_type
make empty/no extension work by removing defined() test
v1.8