The code goes to /authorization-code/callback with state and code querystring but throws "Unauthorized" error after successful openid connection.