remove \n and \r after the authString is base 64 encoded. due to some java bug. 

This bug can be reproduced in java 6_16
Merge pull request #9 from zwang/patch-1

remove \n and \r after the authString is base 64 encoded. due to java bug