Do not create a hawk session if the SP url isn't provided

@natim r?
This should be indented then.