Fixed wrong call Login after DoLogin and DoReg.. and add 2 assert