Hi Pankaj,
Did you check policy server trace logs and find out why authorization is failing ?
As per my understanding, SM is acting as IDP and Shibboleth is SP.
When you login for the first time, SM is able to create SMSESSION and generate Assertion without any issues and able post it to SP. SP is consuming it and creating SP Session and finally redirecting to Target.
But when you refresh the page, you will be at SP end and you will have SP session created, But why SP is sending the request back to IDP (SM) ?
Also I feel that it is making SP Initiated transaction and did you check for any issues While validating Authnrequest by policy server ?
Thanks,
Sharan