OAuth Code exchange returned 400

Fix has been implemented by @bengotow. Please see this thread for more info.