If --user (or --rc-user etc.) is set without --pass then the basic
auth middleware is installed with an empty password, so anyone who
knows the user name can log in with an empty password. For the rc
this also counts as "authenticated" and unlocks the methods which
need authentication.
This now logs a NOTICE level warning at startup so the operator can
see what they have configured. Behaviour is otherwise unchanged as an
empty password may be intentional.
Reported by @ctxloop