Fixed new credentials not being set due to return happening before asynchronous operation completed
Merge pull request #2 from petreboy14/master

Fixed issue with new credentials not propogating correctly