Corrected bug in OAuth workflow, #1 resolved