enrich Request
function enriching the request with authentication information depending on the servers need. For example the server could expect sepcial header-information, that could be set by this function.
Parameters
request
the request-object that is enriched with the login-information.