Fix login-problem when behind lighttpd

We just set the content-length to 1 and send one byte in the post-data which YouTrack (at least in Version 4.1.2) does not care about.
Merge remote branch 'shyru/patch-1'