Added a work around for an issue in amqp_uri.

Seems that the mechanisms/1 function might not be working properly? Could be
improper usage, too.

This is a work-around for issue #4.