compress authentication_api.js and provisioning_api.js for production.

fixes #3020