add localhost to allowed hosts

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