Add logging for non-revoked errors.
Don't order when updating users, for speed.
Don't specify DB port; Use unix sockets.