Added functional tests for MOOC tracker.

Also fixed the authentication provider issue on signup