Fixing basic authentication