Fixing session shadowing.
Add api host.