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