GetBeforeSessionData represents all the process for the get before data session.
This function should be called if there are some data that is required to enable/disable some feature before making the full authentication and create session process.