Accessing a protected page on a sp application lead to login at the idp (correct) followed by either an HTTP error, or a redirect to the main page of the sp and not to the desired page