added support for setting metric credentials on the service

removed credentials from metric to metricBatch

(Review request: http://reviews.vapour.ws/r/553/)