Check rabbitmq user's credential

This is pretty helpful when you want to check if the user's password of rabbitmq is correct:

$ curl -i -u <theuser>:<thepassword> http://<rabitmq-host>:15672/api/whoami