Refactor - Moved the auto refresh option in ctor

Second parameter to constructor now indicates if the token should be auto generated.
Remove auto parameter from other functions.