Fix EZP-22665: Login to admin interface not working

This reverts commit 4686afbb55d5645beaa1f98a9845f0337e9125d2.