Attributes were left over from a previous attempt at detecting if basic ...

...auth was necessary