Clear credentials on log in failure
Eliminate compiler warnings
Add semi-sensible error message
Clear credentials on log in failure properly
Do no special handling of 401 for now