token generator proxy added for testing