Cache the base url (protocol://host:port) in the session to make it