Fixed HomeControllerSpec and LoginControllerSpec unit tests.