Fix login form

This got broken while rebasing e00b68c8b9b4211381191f3fcf7ec1e03ab2481c
onto c899dfbd4242fe14214aa475d2c2f8aebb49c836.