fixed setting the auth.type for all methods;
some fixes;