Make Special:PasswordReset obey returnto and returntoquery parameters

Bug: 57098

Change-Id: I27b31bfa23d94cd45a70b3c7c091938e3b83e671
Merge "Make Special:PasswordReset obey returnto and returntoquery parameters"