Replaced the HTTP Basic Auth by custom auth.