Added util classses which implement jersey auth endpoints and security

filters for users of jerseys. Supporting classes are abstracted wherever
possible.
This might be a constant somewhere else that could be used rather than re-declaring here.