[Issue #75] FIxed HMAC arguments and generate_client_secret to work with bytes rather than deal with unicode/string