Added util classses which implement jersey auth endpoints and security

filters for users of jerseys. Supporting classes are abstracted wherever
possible.
Shouldn't this be authorization failed?