On the Custom Settings page https://world.mendix.com/display/refguide6/Custom+Settings it clearly says that this setting is strongly discouraged in the Mendix Cloud, so I'm not surprised this does not work.
Also, a clear error for the log file would be helpful.
Did you set up request handlers correctly for SSO?