Fixes up the auth http post