updating example that uses POST data to fill user/pass

Seriously hope I did all this right. First time contribution -- sorry if I didn't !!

It just seemed criminal to set a username/password directly from POST data. Tried to update the auth/login documentation to something nicer.