Implemented a typed Authorization header, supporting Raw string auth and Basic auth.

Updated unit tests to match on password change.