[ENTESB-982]use JAASAuthenticationFilter so that can return 401 charleng...

...e so that get chance to specify username/password for a rest request in browser

(cherry picked from commit 197c28cfbbb5263ebb939e4ca2541dbf5a0ef434)