Added overload for auth() to specify mechanism