fix #1314 Pass username to makeapi
add locale to makeapi data
Merge pull request #1371 from ScottDowne/t1314

fix #1314 Pass username to makeapi