Extracted code for retrieving authorization from HTTP Header to lib file. IN-6