Login to be redirected to /index.php?action=login&returnto=%252F%253Faction%253Dstats.
/index.php?action=login&returnto=%252F%253Faction%253Dstats