Fixed token expiration check and parameters passed to api
Fixed token authorization
Merge pull request #197 from l2avenholm/master

Fixed token expiration check and parameters passed to api