added support for md5 as digest algorithm (used to test that this is rejected);
added support for redirect signature algorithm check