Fixed incorrect call in postLogin.

This crashed the server whenever someone tried to login.