Added FunctionalTests for Authorization and Registering.