Enabled claiming of permanent oauth token.
Fixed the sample add app form to work on chrome.