Define BASE_URL and DATA_URL js variables in the login template. Closes #13385185
Those are expected to be defined in almost every js files. They were not before
this patch because login form doesn't use the regular main template.
if versions_map['cubicweb'][0] == (3, 7, 4):
config['http-session-time'] *= 60
config['cleanup-session-time'] *= 60
config['cleanup-anonymous-session-time'] *= 60