Extracts the method that builds the token

I need to have quotes around my token (e.g `Token token="myusertoken"`). I feel it's inconvenient to have to rewrite the entire `authorize` method just for that.

On a side note, I think someone should try to come up with the basic structure for tests. There are no tests for this repo.