refactored client authentication
refactored client auth + client_secret_basic implementation