Fix broken test for LoginTask

Still broken, but at least it ocmpiles

Change-Id: Ia9219766335afbee54a3cccae90633bfbb48f2a3