Authentication issues checked.
UrlFormatter fixed to handle relative urls correctly.