Password-protecting the client