What i would do in this case is create a security administrator account for my Mcas tenant from ( Mcas portal > settings cog > manage admin access). And create a api token using this generic account.
This token would not expire unless you delete the user account and should continue to work..
Let me know if this doesn't work for you..
You can connect me on twitter at @Er
_mansury for a private discussion on this topic..