Fix AclAutoLoginComponent test

I also noticed some dead code, could you double check @rchavik please?