Fix usage of NotImplementedError exceptions in auth classes

NotImplemented (which is a constant) was used instead the exception
NotImplementedError.

Change-Id: I9d6b75ae47c1ec31061234221a5dbf9ab6f9caee
Merge "Fix usage of NotImplementedError exceptions in auth classes"