Correct header authorization field

A HTTP Basic authentication request uses 'Authorization' in the response header. See also http://tools.ietf.org/html/rfc6749#section-2.3.1
Merge pull request #52 from misja/master

Correct header authorization field
Fix test cases for #52