Fix authenticated POST

'data' could not be found, at least under chrome, without the 'self.' prefix.
Merge pull request #5 from raboof/fixAuthenticatedPost

Fix authenticated POST