Added full support for shared secrets, but had to roll it back to md5 only.