Added username checking because we need it for some reason even though the auth specifications aren't secure at all.