Updates the tokens based upon the response headers in remote
Hides the xdm iframe properly
Moves from tokens to credentials