Make username==bucket if user is NULL

Change-Id: I076670cbc77660eb13d65bae39eec4069aa2970d
Reviewed-on: http://review.couchbase.org/32770
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>