MOTM-851: Redirect user to the page they visited before logging in after they login