mangled authlogin a bit