Oh god I hate Java (initial commit)
Set Authorization header to Bearer token if present.