Redirect to login page with error shown (if applicable)