CBQE-1730: corrected create_views code for sasl buckets

Change-Id: I34076b51d398035c8a5a01939d35d0d62f965aab
Reviewed-on: http://review.couchbase.org/30826
Reviewed-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>
Tested-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>