Strips url fragment from redirectUri setting.