Fix mobile login redirect