Patched login background path to work with CDN