oauth2 api endpoint & better template

This should finish out the provider side so users can use their MapStory account to log into AskBot and the wiki.