add Basic Authentication support to request object