Fixed an issue where a stored token would not get loaded properly