HTTP.pm: migrade is_authorized code from mfile-www and dochazka-www
HTTP.pm: migrade is_authorized code from mfile-www and dochazka-www

Eliminate some code duplication.

Signed-off-by: Nathan Cutler <f9d8c66a4e898e67db786769b5b347b640e1a9a6@suse.com>

smithfarm/mfile