LPS-45954

Hey Hugo,

We decided to fix it with the try/catch because it seems like that for some authentication filters, that if check would always be false. Let me know if you have any questions or if you liked the first solution better.

Thanks.