Changing auth to use implicit environment.