Fixing bug on first login when uri is default and fails.