Remove unused function `getSerializableUserModel` from LoginView.
Add specs for Alert utility module.