Put the sorcery OAuth stuff back in.
This is a temporary fix! I hardcoded the layout scheme ids just to get the thing to work but this is not a long term solution!