trying to make CouchDB Basic HTTP Auth work in Firefox/Chrome/Opera, seems to be a problem with btoa() or it's parameters