Fix mobile sign in page regression

Fixes #5134