Fixed error which allowed the login using any username or password