Load the username and password from the request body. Needs to be simplified cleaned up.