Fixes the LoginController to use the correct APIs