Remove hardcoded login url in session creation code

Change-Id: I13ce4002b06c9a5fff2d14a814eead06222c2458