Replace unnecessarily convoluted way of setting auth to false with a better way of doing it as per suggestion.