Configure SSO and Mongoid