Fixing an issue with get with params are not passed and caused 401 error.