fix bug #151: corretly parse username inside ticket