Java code call https url which needs basic authentication