Fixed authentication defect, login now works