Login to be redirected to /index.php?action=login&returnto=%3Faction%3Duser-preferences.
/index.php?action=login&returnto=%3Faction%3Duser-preferences