Fixed a wrong username authentication