Fixes issues with standard identity provider