[GEOS-6527] REST Upload fails when doing a POST request on an externally configured mosaic 

Please look at the following JIRA: https://jira.codehaus.org/browse/GEOS-6527