[BUGFIX] redirect to referrer when changing password