Added automatic refresh of token for Username/Password flow and
wrote a test method for the scenario.

Fixed bug in auto refresh for regular token.

Added scope to the OAuth-struct from the json response.

Code coverage 75%