OpenMRS bar will now load under any protocol

Unit tests have also been updated for portability (added in commit db80aff162a0ab35988f9022601b761acae7dcb9).