Fix up auth code method to work with json and html
Add back post endpoint for /learn
Add TODO for auth_code method
Merge pull request #1240 from teamleada/mark-fix-learn-endpoint

Fix learn endpoint