Bugfix for Failed Login