Fixed an issue causing packet overflow and desyncs on login, small code readability improvment in protocollogin.cpp