Throw the correct kind of exception when extending
Indentify when invalid credentials are provided
Add oauth tests