Fixup htpasswd stuff, add RMQ checks