Issue #2862494 by klausi, GoZ, Jo Fitzgerald: Convert web tests to browser tests for basic_auth module (cherry picked from commit f1bfa50c)