Fixes https://github.com/nextcloud/server/issues/341
Also adds support for having custom login backgrounds