Fixed scoping auth issue