raise "Internal server error" in post request decorator

Change-Id: Ibf73bfec03d831b0ebbf25657173870155dc0397
Reviewed-on: http://review.couchbase.org/24736
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>