Fix memory allocation error

In order to get something to test, we moved the instantiation of
studentData(requireAuthentication::getCurrentUser inside of each
field value function. This isn't ideal, but it solved the problem
for now.