Nasty hack to make login tracking work.