Changed base64 app credentials encoding