Send basic authenticate credentials preemptively

- Use AuthCache to send credentials preemptively
- Check if password and username are null or empty before attempting to send credentials