[ControlPanel]: Fixed redirecting to referrer page after login