Fixing api call that was broken

The documentation was correct in saying __name__ and not __username__. Please update apps accordingly if you have not done so already. 

Towards #1485