fixing issue with login via default site, fixing crashing if issues == 0

Fixing issue with auth.
Fixing crash if issues == 0 and trying to get issue number