[MINOR] Fix AuthFilter to support REST Stream Proxy

* Support `Auth(required=false)`
* Return `403` instead of `401` for `invalid access` other than `unauthorized access`

Author: Hao Chen <hao@apache.org>

Closes #866 from haoch/FixBasicAuthenticationTestCase.
2 files changed