Fix for Issue #586

Added @functools.wraps(func) to allow for introspection with auth_basic(). Fix for Issue #586.