Prepping to expand OAuth lib to include authorization code. - Moved splitQuery function down the page - Simplified authenticate method. - Moved constructing the url into its own function.